package com.tanhua.dubbo.api;

import com.tanhua.domain.mongo.*;

import java.util.List;

public interface SoulTestApi {
    List<SoulTest> findSoulTestList(Long userId);

    List<SoulTestQuestion> findQuestionList(String sid);

    List<Option> findOptions(String questionQid, String sid);

    void updateRecordReport(RecordReport recordReport, Integer countScore);

    SoulTestQuestion findQid(String qid);

    Option findOid(String oid);

    RecordReport findCountScore(Long userId, String sid);

    void saveRecordReport(RecordReport recordReport);

    RecordQuestion saveRecordQuestion(RecordQuestion recordQuestion);

    RecordReport findByRid(String reportId);

    ScoringReport findByCountRid(String i);


    void updateReportId(String reportId, Long userId, String sid);

    SoulTest findNextLevelByUidAndSid(Long userId, String sidPlus);

    void updateSoulTestIsLock(Long userId, String sidPlus);

    Option findOptionByOqId(String qid, String oid);

    void saveSoulTestUser(Long userId);
}
